package com.manage.project.biz.service;

import java.util.List;
import com.manage.project.biz.domain.BizJidiansheshiguzhangxuncha;

/**
 Service接口
 *
 * @author liang
 *
 */
public interface IBizJidiansheshiguzhangxunchaService
{
    /**
     * 查询故障巡查
     *
     * @param id 故障巡查主键
     * @return 故障巡查
     */
    public BizJidiansheshiguzhangxuncha selectBizJidiansheshiguzhangxunchaById(Long id);

    /**
     * 查询设备编码对应故障巡查
     * @param id
     * @return
     */
    public BizJidiansheshiguzhangxuncha selectBizJidiansheshiguzhangxunchaByshebeiId(String id);

    /**
     * 查询故障巡查列表
     *
     * @param bizJidiansheshiguzhangxuncha 故障巡查
     * @return 故障巡查集合
     */
    public List<BizJidiansheshiguzhangxuncha> selectBizJidiansheshiguzhangxunchaList(BizJidiansheshiguzhangxuncha bizJidiansheshiguzhangxuncha);

    /**
     * 新增故障巡查
     *
     * @param bizJidiansheshiguzhangxuncha 故障巡查
     * @return 结果
     */
    public int insertBizJidiansheshiguzhangxuncha(BizJidiansheshiguzhangxuncha bizJidiansheshiguzhangxuncha);

    /**
     * 修改故障巡查
     *
     * @param bizJidiansheshiguzhangxuncha 故障巡查
     * @return 结果
     */
    public int updateBizJidiansheshiguzhangxuncha(BizJidiansheshiguzhangxuncha bizJidiansheshiguzhangxuncha);

    /**
     * 批量删除故障巡查
     *
     * @param ids 需要删除的故障巡查主键集合
     * @return 结果
     */
    public int deleteBizJidiansheshiguzhangxunchaByIds(Long[] ids);

    /**
     * 删除故障巡查信息
     *
     * @param id 故障巡查主键
     * @return 结果
     */
    public int deleteBizJidiansheshiguzhangxunchaById(Long id);
}
